package org.dtrd.modules.common.entity.request;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import org.dtrd.common.api.dto.BasePatientRequest;

import javax.validation.constraints.NotNull;

/**
 * 添加或取消重点关注
 *
 * @author xiao
 * @date 2022/6/14 5:00 PM
 */
@EqualsAndHashCode(callSuper = true)
@Data
public class ConcernPatientRequest extends BasePatientRequest {

    @NotNull(message = "操作异常")
    @ApiModelProperty(value = "关注或取关", notes = "1-取关，2-关注", required = true)
    private Integer patientsCollected;

    @NotNull(message = "医生ID不能为空")
    @ApiModelProperty(value = "医生ID", required = true)
    private Integer doctorId;

    @ApiModelProperty(value = "部门编码", required = true)
    private String orgCode;

}
